package com.cn.utils;

import com.cn.pojo.User;

public class UserHolder {
    public static ThreadLocal<String> t1 = new ThreadLocal<>();


    public static String getUser(){
        String s = t1.get();
        return s;
    }

    public static void remover(){
        t1.remove();
    }

    public static void setUser(String s){
        t1.set(s);
    }
}
